import {DbfReader} from './dbf-reader.js'
import dbfWriter from './dbf-writer.js'
import dbfImport from './dbf-import.js'
import dbfExport from './dbf-export.js'
import {ShapefileTable} from './dbf-import.js'
import shpCommon from './shp-common.js'
import ShpType from './shp-type.js'
import ShpRecordClass from './shp-record.js'
import ShpReader from './shp-reader.js'
import importShp from './shp-import.js'
import shpExport from './shp-export.js'

export {
  DbfReader,
  ShpReader,
  ShpRecordClass,
  ShpType,
  ShapefileTable,
}
export default {
  exportRecords: dbfWriter.exportRecords,
  importDbfTable: dbfImport.importDbfTable,
  exportDbf: dbfExport.exportDbf,
  exportDbfFile: dbfExport.exportDbfFile,
  isSupportedShapefileType: shpCommon.isSupportedShapefileType,
  translateShapefileType: shpCommon.translateShapefileType,
  importShp,
  exportShapefile: shpExport.exportShapefile,
}